- At boot -
If a backup of fav_pictures json exists, restore it overwriting the current (presumably damaged) JSOn file.

Then always create a backup of the current fav_pictrues JSON file.



- At shutdown -
After all other tasks, delete the backup of fav_pictures json.
